]> dgit.raspbian.org Git - gnome-shell.git/commit
runDialog: catch the case where no completion is available
authorCosimo Cecchi <cosimo@endlessm.com>
Wed, 13 Aug 2014 22:13:20 +0000 (15:13 -0700)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 19 Aug 2014 16:39:51 +0000 (09:39 -0700)
commitd54efe08382de35df765eb211386530a25f15e81
tree3dc1a21b8daaf8e4e6612417ea51fa8e79ad6a96
parentd0fe1211f2f5fe405bf5cc9d26207999227fe827
runDialog: catch the case where no completion is available

Just return null, instead of failing with an exception later trying to
call substr() on null.

https://bugzilla.gnome.org/show_bug.cgi?id=735062
js/ui/runDialog.js